package com.hsd.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hsd.model.Device;


public interface DeviceMapper {
   

   

    List<Device> getAllDevice(@Param("start")int start,@Param("end") int end);

    int getCount();

    public void updateDeviceByImei(Device device);

    public void addDevice(Device device);

    List<Device> searchDeviceByImei(@Param("start")int start,@Param("end") int end, @Param("imei")String imei);

    int getCountByImei();
}